#pragma once


#define Handler_FromGuildServer_DECL( p )	static VOID On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )
#define Handler_FromGuildServer_IMPL( p )	VOID Handler_FromGuildServer::On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )

class ServerSession;

class Handler_FromGuildServer
{
public:
	Handler_FromGuildServer(void) {}
	~Handler_FromGuildServer(void) {}

	Handler_FromGuildServer_DECL( DZ_GUILD_SELECT_SYN );
	Handler_FromGuildServer_DECL( DZ_GUILD_SELECT_DBR );
	/*Handler_FromGuildServer_DECL( DZ_GUILD_SELECT_MEMBER_SYN );*/
	Handler_FromGuildServer_DECL( DZ_GUILD_SELECT_MEMBER_DBR );

	Handler_FromGuildServer_DECL( DZ_GUILD_CREATE_SYN );
	Handler_FromGuildServer_DECL( DZ_GUILD_CREATE_DBR );
	Handler_FromGuildServer_DECL( DZ_GUILD_DESTROY_SYN );
	Handler_FromGuildServer_DECL( DZ_GUILD_DESTROY_DBR );

	Handler_FromGuildServer_DECL( DZ_GUILD_JOIN_SYN );
	Handler_FromGuildServer_DECL( DZ_GUILD_JOIN_DBR );
	Handler_FromGuildServer_DECL( DZ_GUILD_WITHDRAW_SYN );
	Handler_FromGuildServer_DECL( DZ_GUILD_WITHDRAW_DBR );

	Handler_FromGuildServer_DECL( DZ_GUILD_CHANGE_POSITION_SYN );
	Handler_FromGuildServer_DECL( DZ_GUILD_CHANGE_POSITION_DBR );
};
